<?php
	/* Template Name: Post Parent Page */ 
?>

<?php get_header() ?>

	<div id="container">
    
    	<?php include('breadcrumbs.php'); ?>
    
    	<?php get_sidebar() ?>
    
		<div id="content">

<?php the_post() ?>

			<div id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>">
				<h2 class="entry-title"><?php the_title() ?></h2>
                <?php include ('socialbuttons.php'); ?>
				<div class="entry-content">
<?php the_content() ?>

				<!-- BEGIN CODE TO PULL IN CATEGORY POSTS FROM CHOSEN CATEGORY | MATT B: MAR 2012 -->
                            
					<?php
						$category=get_post_meta($post->ID, 'PostCategory', true);
						if ( get_post_meta($post->ID, 'PostCategory', true) )
						include ('category-listing.php');
					?>

                <!-- END CODE TO PULL IN CATEGORY POSTS FROM CHOSEN CATEGORY -->
                
                </div>
                
			</div><!-- .post -->

		</div><!-- #content -->
	</div><!-- #container -->

<?php get_footer() ?>